#include "CWinState.h"
#include "CGame.h"

#include "SGD Wrappers/CSGD_Direct3D.h"
#include "SGD Wrappers/CSGD_TextureManager.h"
#include "SGD Wrappers/CSGD_DirectSound.h"
#include "SGD Wrappers/CSGD_WaveManager.h"
#include "SGD Wrappers/CSGD_DirectInput.h"

CWinState::CWinState()
{

}
CWinState::CWinState(const CWinState&)
{

}
CWinState& CWinState::operator=(CWinState&)
{

	return *this;
}
CWinState::~CWinState()
{

}
CWinState* CWinState::GetInstance()
{
	static CWinState instance;
	return &instance;
}
void CWinState::Enter()
{

}
bool CWinState::Input()
{
	if(CSGD_DirectInput::GetInstance()->KeyPressed(DIK_RETURN))
	{
		CGame::GetInstance()->PopState();
		CGame::GetInstance()->PopState();
	}

	return true;
}
void CWinState::Update(float fDelta)
{

}
void CWinState::Render()
{
	CSGD_Direct3D::GetInstance()->DrawText("You Win!!", 280, 200);
	CSGD_Direct3D::GetInstance()->DrawText("Press Enter to Continue", 230, 215);
}
void CWinState::Exit()
{

}